<!DOCTYPE html>
<html lang="en" xmlns:v-on="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>事件</title>
</head>
<body>
    <div id="app">
        {{info}}<br/>
       <button v-on:click="info++">你点我啊，点我我变长</button>
       <button v-on:mouseover="info--">你点我啊，点我我变小</button>
    </div>

    <script src="../node_modules/vue/dist/vue.js"></script>
    <script>
        let app = new Vue({
            el:"#app",
            data:{
                info:18
            }

        });
    </script>

</body>
</html>